package com.samuel.igoodman.entity.article;


import java.sql.Timestamp;

import com.samuel.igoodman.entity.POJO;

@SuppressWarnings("serial")
public class Article extends POJO{
	
	private long id;
	private String title;
	private String content;
	private String date; //日期用于快速检索
	private Timestamp saveDate;
	private long userinfoId;
	private int viewCount;	//浏览人数
	private int postCount;	//回复人数
	private int voteCount;	//得票人数
	private String tags;	//热门标签
	private String username; //署名
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public Timestamp getSaveDate() {
		return saveDate;
	}
	public void setSaveDate(Timestamp saveDate) {
		this.saveDate = saveDate;
	}
	public long getUserinfoId() {
		return userinfoId;
	}
	public void setUserinfoId(long userinfoId) {
		this.userinfoId = userinfoId;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public int getViewCount() {
		return viewCount;
	}
	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}
	public int getPostCount() {
		return postCount;
	}
	public void setPostCount(int postCount) {
		this.postCount = postCount;
	}
	public int getVoteCount() {
		return voteCount;
	}
	public void setVoteCount(int voteCount) {
		this.voteCount = voteCount;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	@Override
	public String where() {
		return null;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	
}
